package uk.co.richardwkirk.parkrun.funnels.display.applet;

import java.awt.Container;
import java.awt.event.ActionListener;

import uk.co.richardwkirk.parkrun.funnels.display.DisplaySettings;
import uk.co.richardwkirk.parkrun.funnels.display.FunnelDisplay;

public class FunnelAppletDisplay extends FunnelDisplay {

	FunnelAppletPanel displayPanel = null;
	
	public FunnelAppletDisplay(DisplaySettings displaySettings) {
		super(displaySettings);
	}

	public Container createPanel(ActionListener listener) {
		displayPanel = new FunnelAppletPanel(listener);
		displayPanel.setOpaque(true);
		return displayPanel;
	}


	@Override
	public void setStatus(String status) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setOverflowed(boolean b) {
		// TODO Auto-generated method stub
		
	}


	@Override
	protected void showTime(String time) {
		displayPanel.showTime(time);
	}

	@Override
	protected void showCurrentState() {
		// TODO Auto-generated method stub
		
	}

}
